{menuList} <br>
<span id="hktime"></span>， <span id="countdownstr"></span> 
<script>
var now = new Date(1000 * {phptime});
nowdate();
function nowdate()
{
    document.all.hktime.innerHTML = "香港时间：<b>"+now.getDate()+"日"+d2(now.getHours())+":"+d2(now.getMinutes())+":"+d2(now.getSeconds()+"</b>");
    now.setTime(now.getTime() + 1000);
    setTimeout("nowdate()",1000);
}

var timestap = {timestap};
function countdown()
{
    if (timestap >= 0) {
        timediff = timestap;
        days = Math.floor(timediff / (60 * 60 * 24)); 
    	timediff -= days * (60 * 60 * 24);
    	hours = Math.floor(timediff / (60 * 60));
    	timediff -= hours * (60 * 60);	
    	mins = Math.floor(timediff / (60));
    	timediff -= mins * (60);	
    	secs = Math.floor(timediff);
        
        str = "距离截止下注时间还有 ";
        if (days > 0 ) str += "<b>" + days + "</b> 天 ";
        if (hours > 0) str += "<b>" + hours + "</b> 小时 ";
        if (mins > 0) str += "<b>" + mins + "</b> 分钟 ";
        str += "<b>" + secs + "</b> 秒 ";
        countdownstr.innerHTML =  str;
        setTimeout("countdown()",1000)
        timestap-=1;
        if (timestap==0) {
            //location.reload();
			My_Reload();
        }
    } else {
        countdownstr.innerHTML =  "<font color=red><b>已经截止下注！</b></font>";
    }
}
countdown();

function My_Reload()
{
	location.href = "op.php?op=agent&fp={fp}&lotto_id={lotto_id}&split={split_id}&disk={disk_id}&select={selectid}&count=" + (new Date()).getTime();
}

</script>
<table cellSpacing="1" cellPadding="3" width="850" border="0" bgcolor="#6A99A6">
  <tr bgcolor="#C0D6EB">
    <td width="100" align="center"><a href="op.php?op=agent&fp=onlinebet5_48&lotto_id={lotto_id}&split={split_id}&disk={disk_id}&select={selectid}">四全中</a></td>
    <td width="100" align="center"><a href="op.php?op=agent&fp=onlinebet5_8&lotto_id={lotto_id}&split={split_id}&disk={disk_id}&select={selectid}">三全中</a></td>
    <td width="221" align="center"><a href="op.php?op=agent&fp=onlinebet5_9&lotto_id={lotto_id}&split={split_id}&disk={disk_id}&select={selectid}">三中二</a></td>
    <td width="100" align="center"><a href="op.php?op=agent&fp=onlinebet5_7&lotto_id={lotto_id}&split={split_id}&disk={disk_id}&select={selectid}">二全中</a></td>
    <td width="221" align="center"><a href="op.php?op=agent&fp=onlinebet5_10&lotto_id={lotto_id}&split={split_id}&disk={disk_id}&select={selectid}">二中特</a></td>
    <td width="100" align="center"><a href="op.php?op=agent&fp=onlinebet5_11&lotto_id={lotto_id}&split={split_id}&disk={disk_id}&select={selectid}">特串</a></td>
  </tr>
  <tr>
  	<td align="center" bgcolor="#E7EBEF"><font color="#007C00">最高</font>&nbsp;<b><font color="#FF0000">{r48_hi}</font></b><br>
      <font color="#007C00">最低</font>&nbsp;<b><font color="#FF0000">{r48_lo}</font></b></td>
    <td align="center" bgcolor="#E7EBEF"><font color="#007C00">最高</font>&nbsp;<b><font color="#FF0000">{r8_hi}</font></b><br>
      <font color="#007C00">最低</font>&nbsp;<b><font color="#FF0000">{r8_lo}</font></b></td>
    <td align="center" bgcolor="#E7EBEF"><font color="#007C00">中二</font>&nbsp;<b><font color="#FF0000">{r9_1}</font></b> <br>
      <font color="#007C00">中三</font>&nbsp;<b><font color="#FF0000">{r9_2}</font></b></td>
    <td align="center" bgcolor="#E7EBEF"><font color="#007C00">二全中</font>&nbsp;<b><font color="#FF0000">{r7_1}</font></b></td>
    <td align="center" bgcolor="#E7EBEF"><font color="#007C00">中特A</font>&nbsp;<b><font color="#FF0000">{r10_1}</font></b> <br>
      <font color="#007C00">中二</font>&nbsp;<b><font color="#FF0000">{r10_2}</font></b></td>
    <td align="center" bgcolor="#E7EBEF"><font color="#007C00">特串</font>&nbsp;<b><font color="#FF0000">{r11_1}</font></b></td>
  </tr>
  <tr>
    <td align="center" bgcolor="#FCFCD8"><a href="op.php?op=agent&fp=betlist1&dt1={dt}&dt2={dt}&bettype=48&page=-1&order=0">{money48}</a></td>
    <td align="center" bgcolor="#FCFCD8"><a href="op.php?op=agent&fp=betlist1&dt1={dt}&dt2={dt}&bettype=8&page=-1&order=0">{money08}</a></td>
    <td align="center" bgcolor="#FCFCD8"><a href="op.php?op=agent&fp=betlist1&dt1={dt}&dt2={dt}&bettype=55&page=-1&order=0">{money09}</a></td>
    <td align="center" bgcolor="#FCFCD8"><a href="op.php?op=agent&fp=betlist1&dt1={dt}&dt2={dt}&bettype=7&page=-1&order=0">{money07}</a></td>
    <td align="center" bgcolor="#FCFCD8"><a href="op.php?op=agent&fp=betlist1&dt1={dt}&dt2={dt}&bettype=66&page=-1&order=0">{money10}</a></td>
    <td align="center" bgcolor="#FCFCD8"><a href="op.php?op=agent&fp=betlist1&dt1={dt}&dt2={dt}&bettype=11&page=-1&order=0">{money11}</a></td>
  </tr>
  <tr valign="top" align="center">
    <td bgcolor="#FFFFFF"><table border="0" width="90%" cellspacing="0" cellpadding="0">
        {list48}
      </table></td>
    <td bgcolor="#FFFFFF"><table border="0" width="90%" cellspacing="0" cellpadding="0">
        {list8}
      </table></td>
    <td bgcolor="#FFFFFF"><table border="0" width="90%" cellspacing="0" cellpadding="0">
        {list9}
      </table></td>
    <td bgcolor="#FFFFFF"><table border="0" width="80%" cellspacing="0" cellpadding="0">
        {list7}
      </table></td>
    <td bgcolor="#FFFFFF"><table border="0" width="80%" cellspacing="0" cellpadding="0">
        {list10}
      </table></td>
    <td bgcolor="#FFFFFF"><table border="0" width="80%" cellspacing="0" cellpadding="0">
        {list11}
      </table></td>
  </tr>
</table>
<p>
  <input type=button value="重新整理" onclick='My_Reload()'>
</p>
